<template>
  <iframe :src="src" :height="iframe" width="100%"  frameborder="0" ></iframe>
</template>


<script>
  import service_route from '@/api/config/const'
  export default{
    data() {
      return {
        iframe: '861px',
        src: ''
      }
    },
    methods: {
    },
    mounted() {
      // 计算iframe的高度
      const iframeHeight = window.innerHeight - 88
      this.iframe = iframeHeight + 'px'
      this.src = service_route.config_center
    }
  }
</script>

<style scoped>
</style>
